package com.ltedu.system.service;

import java.util.Set;

/**
 * @className: SysPermissionService
 * @auther: Jerry
 * @date: 2020/12/1 11:45
 * @desctiption: TODO
 * @version: 1.0
 */
public interface SysPermissionService {

    /**
     * 获取用户角色权限
     *
     * @param userId 用户id
     * @return {@link Set<String>}
     */
    Set<String> getRolePermission(Long userId);

    /**
     * 获取用户菜单权限
     *
     * @param userId 用户id
     * @return {@link Set<String>}
     */
    Set<String> getMenuPermission(Long userId);
}
